package com.tfxy.hxl.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("activity")
public class Activity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String title;
    private String description;
    private String location;
    private Date startTime;
    private Date endTime;
    private Integer maxParticipants;
    private Integer currentParticipants;
    private BigDecimal price;
    private Integer status;
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer deleted;
} 